﻿using INTEX.DataBase;
using INTEX.DataBase.Tools;
using ReflectionStudio.Core.Events;
using ReflectionStudio.Core.Helpers;
using System;
using System.Data;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Data;
using WPFExcelReport.Helpers;
namespace WPFExcelReport
{
    public class VTSTLS03 : ViewModelBase
    { 
        private bool _IsTSTLS03; public bool IsTSTLS03 { get { return _IsTSTLS03; } set { _IsTSTLS03 = value; OnPropertyChanged("IsTSTLS03", value); } }
    
        public DelegateCommand QueryCommand { get; set; }
        public DelegateCommand DeleteCommand { get; set; }
        public DelegateCommand SaveCommand { get; set; }
        public DelegateCommand CopyCommand { get; set; } 
        
        public VTSTLS03()
            : base()
        {
            IsCostMode = true;
            IsTSTLS03 = true;
            if (SetEnv == null)
            {
                SetEnv = new SETINTEXDB();
            }
            if (SetData == null)
            {
                SetData = new SETINTEXDB();
            }
            if (SetProd == null)
            {
                SetProd = new SETINTEXDB();
            }
           
            QueryCommand = new DelegateCommand(x => Query());  
            if (app.User.Trim() == "ITXV")
            {
                 
            }
            else
            {
                 
            }
        }
      
        public  void Query()
        { 
            DataSet SResult = new DataSet();
            
        }       
        public override void LoadEnv()
        {
            base.LoadEnv();
            DataSet SResult = new DataSet();
            DataSet SReturn = new DataSet();
            DataRow dwData;
             
        } 
    }
}